package com.fjec.common.exception;

import com.fjec.common.enums.EnumSysCode;

public class WechatException extends BaseException {

    private String wxCode = "";

    private String wxErrMsg = "";

    public WechatException(EnumSysCode code) {
        super(code.getCode(), code.getMsg());
    }

    public WechatException(EnumSysCode code, String wxCode, String wxErrMsg) {
        super(code.getCode(), code.getMsg());
        this.wxCode = wxCode;
        this.wxErrMsg = wxErrMsg;
    }
}
